package com.qf.dao;

import com.qf.pojo.adress;
import jdk.nashorn.internal.runtime.linker.LinkerCallSite;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * Created by ZhaoHuiDong on 2020/9/14.
 */
public interface AdressDao {
    //查询所有
    public List<adress> selectAll();
    //通过ID删除
    public int delete(int id);
    //增加
    public int add(adress adress);
    //修改
    public int update(adress adress);
    //查询一个
    public List<adress> selectOne();
}
